<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% String mainId = request.getParameter("mainId"); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript">
		var a = <%=mainId%>;
	</script>
  </head>
  <style>

	*{
		margin:0;
		padding:0;
	}
	html,body{
		width:100%;
		height:100%;
		overflow:hidden;
	}
</style>
  <body>
	<object id='relatedEventSwf'
		classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
		codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,0,0'
		height='100%' width='100%'>
		<param name='src'
			value='${pageContext.request.contextPath}/resources/flash/RelationEventMain.swf' />
		<param name='flashVars' value="mainId=<%=mainId %>" />
		<embed name='relatedEventSwf'
			src='${pageContext.request.contextPath}/resources/flash/RelationEventMain.swf'
			pluginspage='http://www.adobe.com/go/getflashplayer'
			allowFullScreen="true" height='100%' width='100%' flashVars='mainId=<%=mainId %>' />
	</object>
</body>
</html>
